<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions" 
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples"
  xmlns:tns="Examples">
  
  <message id="newInvoice" />
  
  <process id="process" isExecutable="true">
  
    <startEvent id="theStart" />
    
    <sequenceFlow id="flow1" sourceRef="theStart" targetRef="messageCatch" />
  
  	<intermediateCatchEvent id="messageCatch">
  		<messageEventDefinition messageRef="newInvoice" />
  	</intermediateCatchEvent>
  	
  	<sequenceFlow id="flow2" sourceRef="messageCatch" targetRef="task" />
  
    <userTask id="task" name="Task" />
    <sequenceFlow id="flow3" sourceRef="task" targetRef="theEnd" />
    
    <endEvent id="theEnd" />
    
  </process>

</definitions>